home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat3
/
Tk
/
getpixmap.z
/
getpixmap
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp((((3333TTTTkkkk)))) TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp((((3333TTTTkkkk))))
NNNNAAAAMMMMEEEE
Tk_GetPixmap, Tk_FreePixmap - allocate and free pixmaps
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
Pixmap
TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp((((_d_i_s_p_l_a_y, _d, _w_i_d_t_h, _h_e_i_g_h_t, _d_e_p_t_h))))
TTTTkkkk____FFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp((((_d_i_s_p_l_a_y, _p_i_x_m_a_p))))
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
Display *_d_i_s_p_l_a_y (in) X display for the pixmap.
Drawable _d (in) Pixmap or window where the new pixmap
will be used for drawing.
int _w_i_d_t_h (in) Width of pixmap.
int _h_e_i_g_h_t (in) Height of pixmap.
int _d_e_p_t_h (in) Number of bits per pixel in pixmap.
Pixmap _p_i_x_m_a_p (in) Pixmap to destroy.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
These procedures are identical to the Xlib procedures XXXXCCCCrrrreeeeaaaatttteeeePPPPiiiixxxxmmmmaaaapppp and
XXXXFFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp, except that they have extra code to manage X resource
identifiers so that identifiers for deleted pixmaps can be reused in the
future. It is important for Tk applications to use these procedures
rather than XXXXCCCCrrrreeeeaaaatttteeeePPPPiiiixxxxmmmmaaaapppp and XXXXFFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp; otherwise long-running
applications may run out of resource identifiers.
TTTTkkkk____GGGGeeeettttPPPPiiiixxxxmmmmaaaapppp creates a pixmap suitable for drawing in _d, with dimensions
given by _w_i_d_t_h, _h_e_i_g_h_t, and _d_e_p_t_h, and returns its identifier.
TTTTkkkk____FFFFrrrreeeeeeeePPPPiiiixxxxmmmmaaaapppp destroys the pixmap given by _p_i_x_m_a_p and makes its resource
identifier available for reuse.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
pixmap, resource identifier
PPPPaaaaggggeeee 1111